package com.fyzk.constants;

import com.tyjc.lottery.R;
import com.fyzk.utils.LotteryIDUtils;

public class ConstantsDJ {
	
	/**
	 * 彩种编码
	 */
	/**
	 * 双色球
	 */
	public static final String SSQ = "ssq";
	/**
	 * 福彩3D
	 */
	public static final String _3D = "3d";
	/**
	 * 排列三
	 */
	public static final String PL3 = "p3";
	/**
	 * 排列5
	 */
	public static final String PL5 = "p5";
	/**
	 * 七星彩
	 */
	public static final String QXC = "p7";
	/**
	 * 大乐透
	 */
	public static final String DLT = "dlt";
	
	
	
	public static String wcode(int lotteryId){
		String wanFa = "";
		switch (lotteryId) {
		case LotteryIDUtils.QLC_LOTTERY_COMMON_DAN_ID_INT:
			wanFa = "单式";
			break;
		case LotteryIDUtils.QLC_LOTTERY_COMMON_FU_ID_INT:
			wanFa = "复式";
			break;
		case LotteryIDUtils.QLC_LOTTERY_TOWED_ID_INT:
			wanFa = "胆拖";
			break;
		case LotteryIDUtils.QLC_LOTTERY_COMMON_HUN_ID_INT:
			wanFa = "混投";
			break;
		case LotteryIDUtils.JLSF_LOTTERY_ID_INT://竞彩篮球
			wanFa = "胜负";
			break;
		case LotteryIDUtils.JLRSF_LOTTERY_ID_INT:
			wanFa = "让分胜负";
			break;
		case LotteryIDUtils.JLSFC_LOTTERY_ID_INT:
			wanFa = "胜分差";
			break;
		case LotteryIDUtils.JLDXF_LOTTERY_ID_INT:
			wanFa = "大小分";
			break;
		case LotteryIDUtils.JZHH_LOTTERY_ID_INT:
			wanFa = "混合过关";
			break;
		case LotteryIDUtils.JZRFSPF_LOTTERY_ID_INT://竞彩足球
			wanFa = "让球胜平负";
			break;
		case LotteryIDUtils.JZBF_LOTTERY_ID_INT:
			wanFa = "比分";
			break;
		case LotteryIDUtils.JZZJQ_LOTTERY_ID_INT:
			wanFa = "总进球";
			break;
		case LotteryIDUtils.JZBQC_LOTTERY_ID_INT:
			wanFa = "半全场";
			break;
		case LotteryIDUtils.JZSPF_LOTTERY_ID_INT:
			wanFa = "胜平负";
			break;
			
		case LotteryIDUtils.SSQ_LOTTERY_COMMON_DAN_ID_INT:
		case LotteryIDUtils.DLT_LOTTERY_COMMON_DAN_ID_INT:
		case LotteryIDUtils.PL5_LOTTERY_COMMON_DAN_ID_INT:
		case LotteryIDUtils.PL3_LOTTERY_COMMON_DAN_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_COMMON_DAN_ID_INT:
		case LotteryIDUtils.QXC_LOTTERY_COMMON_DAN_ID_INT:
			wanFa = "单式";
			break;
		case LotteryIDUtils.SSQ_LOTTERY_COMMON_FU_ID_INT:
		case LotteryIDUtils.DLT_LOTTERY_COMMON_FU_ID_INT:
		case LotteryIDUtils.PL5_LOTTERY_COMMON_FU_ID_INT:
		case LotteryIDUtils.PL3_LOTTERY_COMMON_FU_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_COMMON_FU_ID_INT:
		case LotteryIDUtils.QXC_LOTTERY_COMMON_FU_ID_INT:
			wanFa = "复式";
			break;
		case LotteryIDUtils.SSQ_LOTTERY_TOWED_ID_INT:
		case LotteryIDUtils.DLT_LOTTERY_TOWED_ID_INT:
			wanFa = "胆拖";
			break;
			
		case LotteryIDUtils.PL3_LOTTERY_ZHIXUAN_SUM_ID_INT:
		case LotteryIDUtils.PL3_LOTTERY_ZUSAN_SUM_ID_INT:
		case LotteryIDUtils.PL3_LOTTERY_ZULIU_SUM_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_ZHIXUAN_SUM_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_ZUSAN_SUM_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_ZULIU_SUM_ID_INT:
			wanFa = "和值";
			break;
			
		case LotteryIDUtils.PL3_LOTTERY_ZUSAN_DAN_ID_INT:
		case LotteryIDUtils.PL3_LOTTERY_ZUSAN_FU_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_ZUSAN_DAN_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_ZUSAN_FU_ID_INT:
			wanFa = "组3";
			break;
			
		case LotteryIDUtils.PL3_LOTTERY_ZULIU_DAN_ID_INT:
		case LotteryIDUtils.PL3_LOTTERY_ZULIU_FU_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_ZULIU_DAN_ID_INT:
		case LotteryIDUtils.FC3D_LOTTERY_ZULIU_FU_ID_INT:
			wanFa = "组6";
			break;
			
		case LotteryIDUtils.ZCSFC_LOTTERY_COMMON_DAN_INT:
			wanFa = "胜负彩单式";
			break;
		case LotteryIDUtils.ZCSFC_LOTTERY_COMMON_FU_INT:
			wanFa = "胜负彩复式";
			break;
		case LotteryIDUtils.ZCRXJ_LOTTERY_COMMON_DAN_INT:
			wanFa = "任九单式";
			break;
		case LotteryIDUtils.ZCRXJ_LOTTERY_COMMON_FU_INT:
			wanFa = "任九复式";
			break;
		case LotteryIDUtils.ZCRXJ_LOTTERY_COMMON_TOWED_INT:
			wanFa = "任九胆拖";
			break;
		case LotteryIDUtils.ZCJQC_LOTTERY_COMMON_DAN_INT:
			wanFa = "进球彩单式";
			break;
		case LotteryIDUtils.ZCJQC_LOTTERY_COMMON_FU_INT:
			wanFa = "进球彩复式";
			break;
		case LotteryIDUtils.ZCBQC_LOTTERY_COMMON_DAN_INT:
			wanFa = "半全场单式";
			break;
		case LotteryIDUtils.ZCBQC_LOTTERY_COMMON_FU_INT:
			wanFa = "半全场复式";
			break;
			
		case LotteryIDUtils.DCBF_LOTTERY_ID_INT:
			wanFa = "比分";
		case LotteryIDUtils.DCZJQ_LOTTERY_ID_INT:
			wanFa = "总进球";
		case LotteryIDUtils.DCBQC_LOTTERY_ID_INT:
			wanFa = "半全场";
		case LotteryIDUtils.DCSPF_LOTTERY_ID_INT:
			wanFa = "胜平负";
		case LotteryIDUtils.DCSXDS_LOTTERY_ID_INT:
			wanFa = "上下单双";
			break;
		//11选5
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENER_DAN_ID_INT:
			wanFa = "任选二单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENER_FU_ID_INT:
			wanFa = "任选二复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENER_TOWED_ID_INT:
			wanFa = "任选二胆拖";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENSAN_DAN_ID_INT:
			wanFa = "任选三单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENSAN_FU_ID_INT:
			wanFa = "任选三复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENSAN_TOWED_ID_INT:
			wanFa = "任选三胆拖";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENSI_DAN_ID_INT:
			wanFa = "任选四单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENSI_FU_ID_INT:
			wanFa = "任选四复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENSI_TOWED_ID_INT:
			wanFa = "任选四胆拖";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENWU_DAN_ID_INT:
			wanFa = "任选五单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENWU_FU_ID_INT:
			wanFa = "任选五复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENWU_TOWED_ID_INT:
			wanFa = "任选五胆拖";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENLIU_DAN_ID_INT:
			wanFa = "任选六单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENLIU_FU_ID_INT:
			wanFa = "任选六复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENLIU_TOWED_ID_INT:
			wanFa = "任选六胆拖";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENQI_DAN_ID_INT:
			wanFa = "任选七单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENQI_FU_ID_INT:
			wanFa = "任选七复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENQI_TOWED_ID_INT:
			wanFa = "任选七胆拖";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENBA_DAN_ID_INT:
			wanFa = "任选八单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_RENBA_FU_ID_INT:
			wanFa = "任选八复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANYI_DAN_ID_INT:
			wanFa = "前一单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANYI_FU_ID_INT:
			wanFa = "前一复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANER_DAN_ID_INT:
			wanFa = "前二单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANER_FU_ID_INT:
			wanFa = "前二复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANER_ZU_DAN_ID_INT:
			wanFa = "前二组选单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANER_ZU_FU_ID_INT:
			wanFa = "前二组选复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANER_ZU_TOWED_ID_INT:
			wanFa = "前二组选胆拖";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANSAN_DAN_ID_INT:
			wanFa = "前三单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANSAN_FU_ID_INT:
			wanFa = "前三复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANSAN_ZU_DAN_ID_INT:
			wanFa = "前三组选单式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANSAN_ZU_FU_ID_INT:
			wanFa = "前三组选复式";
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_QIANSAN_ZU_TOWED_ID_INT:
			wanFa = "前三组选胆拖";
			break;
			//广东11选5
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENER_DAN_ID_INT:
			wanFa = "任选二单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENER_FU_ID_INT:
			wanFa = "任选二复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENER_TOWED_ID_INT:
			wanFa = "任选二胆拖";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENSAN_DAN_ID_INT:
			wanFa = "任选三单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENSAN_FU_ID_INT:
			wanFa = "任选三复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENSAN_TOWED_ID_INT:
			wanFa = "任选三胆拖";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENSI_DAN_ID_INT:
			wanFa = "任选四单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENSI_FU_ID_INT:
			wanFa = "任选四复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENSI_TOWED_ID_INT:
			wanFa = "任选四胆拖";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENWU_DAN_ID_INT:
			wanFa = "任选五单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENWU_FU_ID_INT:
			wanFa = "任选五复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENWU_TOWED_ID_INT:
			wanFa = "任选五胆拖";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENLIU_DAN_ID_INT:
			wanFa = "任选六单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENLIU_FU_ID_INT:
			wanFa = "任选六复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENLIU_TOWED_ID_INT:
			wanFa = "任选六胆拖";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENQI_DAN_ID_INT:
			wanFa = "任选七单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENQI_FU_ID_INT:
			wanFa = "任选七复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENQI_TOWED_ID_INT:
			wanFa = "任选七胆拖";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENBA_DAN_ID_INT:
			wanFa = "任选八单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_RENBA_FU_ID_INT:
			wanFa = "任选八复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANYI_DAN_ID_INT:
			wanFa = "前一单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANYI_FU_ID_INT:
			wanFa = "前一复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANER_DAN_ID_INT:
			wanFa = "前二单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANER_FU_ID_INT:
			wanFa = "前二复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANER_ZU_DAN_ID_INT:
			wanFa = "前二组选单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANER_ZU_FU_ID_INT:
			wanFa = "前二组选复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANER_ZU_TOWED_ID_INT:
			wanFa = "前二组选胆拖";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANSAN_DAN_ID_INT:
			wanFa = "前三单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANSAN_FU_ID_INT:
			wanFa = "前三复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANSAN_ZU_DAN_ID_INT:
			wanFa = "前三组选单式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANSAN_ZU_FU_ID_INT:
			wanFa = "前三组选复式";
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_QIANSAN_ZU_TOWED_ID_INT:
			wanFa = "前三组选胆拖";
			break;
			//新疆11选5
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENER_DAN_ID_INT:
				wanFa = "任选二单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENER_FU_ID_INT:
				wanFa = "任选二复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENER_TOWED_ID_INT:
				wanFa = "任选二胆拖";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENSAN_DAN_ID_INT:
				wanFa = "任选三单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENSAN_FU_ID_INT:
				wanFa = "任选三复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENSAN_TOWED_ID_INT:
				wanFa = "任选三胆拖";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENSI_DAN_ID_INT:
				wanFa = "任选四单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENSI_FU_ID_INT:
				wanFa = "任选四复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENSI_TOWED_ID_INT:
				wanFa = "任选四胆拖";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENWU_DAN_ID_INT:
				wanFa = "任选五单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENWU_FU_ID_INT:
				wanFa = "任选五复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENWU_TOWED_ID_INT:
				wanFa = "任选五胆拖";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENLIU_DAN_ID_INT:
				wanFa = "任选六单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENLIU_FU_ID_INT:
				wanFa = "任选六复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENLIU_TOWED_ID_INT:
				wanFa = "任选六胆拖";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENQI_DAN_ID_INT:
				wanFa = "任选七单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENQI_FU_ID_INT:
				wanFa = "任选七复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENQI_TOWED_ID_INT:
				wanFa = "任选七胆拖";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENBA_DAN_ID_INT:
				wanFa = "任选八单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_RENBA_FU_ID_INT:
				wanFa = "任选八复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANYI_DAN_ID_INT:
				wanFa = "前一单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANYI_FU_ID_INT:
				wanFa = "前一复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANER_DAN_ID_INT:
				wanFa = "前二单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANER_FU_ID_INT:
				wanFa = "前二复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANER_ZU_DAN_ID_INT:
				wanFa = "前二组选单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANER_ZU_FU_ID_INT:
				wanFa = "前二组选复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANER_ZU_TOWED_ID_INT:
				wanFa = "前二组选胆拖";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANSAN_DAN_ID_INT:
				wanFa = "前三单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANSAN_FU_ID_INT:
				wanFa = "前三复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANSAN_ZU_DAN_ID_INT:
				wanFa = "前三组选单式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANSAN_ZU_FU_ID_INT:
				wanFa = "前三组选复式";
				break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_QIANSAN_ZU_TOWED_ID_INT:
				wanFa = "前三组选胆拖";
				break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_YX_DAN_INT:// 一星单式
		case LotteryIDUtils.GPSSC_LOTTERY_ID_YX_FU_INT:// 一星复式
			wanFa = "一星";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_EX_DAN_INT:// 二星单式
		case LotteryIDUtils.GPSSC_LOTTERY_ID_EX_FU_INT:// 二星复式
			wanFa = "二星";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_SX_DAN_INT:// 三星单式
		case LotteryIDUtils.GPSSC_LOTTERY_ID_SX_FU_INT:// 三星复式
			wanFa = "三星";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_ZS_DAN_INT:// 组三单式
			wanFa = "组三单式";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_ZL_DAN_INT:// 组六单式
			wanFa = "组六单式";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_EX_HE_INT:// 二星直选和值
			wanFa = "二星直选和值";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_EX_ZU_INT:// 二星组选
			wanFa = "二星组选";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_ZUSAN_BAO_INT:// 组三包号
			wanFa = "组三包号";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_ZULIU_BAO_INT:// 组六包号
			wanFa = "组六包号";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_WX_DAN_INT:// 五星单式
		case LotteryIDUtils.GPSSC_LOTTERY_ID_WX_FU_INT:// 五星复式
			wanFa = "五星直选";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_DXDS_INT:// 大小单双
			wanFa = "大小单双";
			break;
		case LotteryIDUtils.GPSSC_LOTTERY_ID_WXTX_INT:// 五星通选
			wanFa = "五星通选";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_SUMZHI_ID_INT:// 宁夏快3 和值
		case LotteryIDUtils.ANHUIK3_LOTTERY_SUMZHI_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_SUMZHI_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_SUMZHI_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_SUMZHI_ID_INT:
			wanFa = "和值";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_SANTONGHAO_ID_INT:// 宁夏快3 三同号
		case LotteryIDUtils.NXK3_LOTTERY_SANTONGHAO_TONG_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_SANTONGHAO_ID_INT:// 安徽快3 三同号
		case LotteryIDUtils.ANHUIK3_LOTTERY_SANTONGHAO_TONG_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_SANTONGHAO_ID_INT:// 安徽快3 三同号
		case LotteryIDUtils.JLK3_LOTTERY_SANTONGHAO_ID_INT:// 安徽快3 三同号
		case LotteryIDUtils.GXK3_LOTTERY_SANTONGHAO_ID_INT:// 安徽快3 三同号
		case LotteryIDUtils.JSK3_LOTTERY_SANTONGHAO_TONG_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_SANTONGHAO_TONG_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_SANTONGHAO_TONG_ID_INT:
			wanFa = "三同号";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_ERTONGHAO_DAN_ID_INT:// 宁夏快3 二同号单选
//		case LotteryIDUtils.NXK3_LOTTERY_ERTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_ERTONGHAO_DAN_ID_INT:// 安徽快3 二同号单选
//		case LotteryIDUtils.ANHUIK3_LOTTERY_ERTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_ERTONGHAO_DAN_ID_INT:// 安徽快3 二同号单选
		case LotteryIDUtils.JLK3_LOTTERY_ERTONGHAO_DAN_ID_INT:// 安徽快3 二同号单选
		case LotteryIDUtils.GXK3_LOTTERY_ERTONGHAO_DAN_ID_INT:// 安徽快3 二同号单选
//		case LotteryIDUtils.JSK3_LOTTERY_ERTONGHAO_ZU_ID_INT:
//		case LotteryIDUtils.JLK3_LOTTERY_ERTONGHAO_ZU_ID_INT:
			wanFa = "二同号单选";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_ERTONGHAO_FU_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_ERTONGHAO_FU_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_ERTONGHAO_FU_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_ERTONGHAO_FU_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_ERTONGHAO_FU_ID_INT:
			wanFa = "二同号复选";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_SANBUTONGHAO_DAN_ID_INT:// 宁夏快3 三不同
		case LotteryIDUtils.NXK3_LOTTERY_SANBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.NXK3_LOTTERY_SANLIANHAO_TONG_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_SANBUTONGHAO_DAN_ID_INT:// 安徽快3 三不同
		case LotteryIDUtils.ANHUIK3_LOTTERY_SANBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_SANLIANHAO_TONG_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_SANBUTONGHAO_DAN_ID_INT:// 安徽快3 三不同
		case LotteryIDUtils.JLK3_LOTTERY_SANBUTONGHAO_DAN_ID_INT:// 安徽快3 三不同
		case LotteryIDUtils.GXK3_LOTTERY_SANBUTONGHAO_DAN_ID_INT:// 安徽快3 三不同
		case LotteryIDUtils.JSK3_LOTTERY_SANBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_SANBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_SANBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_SANLIANHAO_TONG_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_SANLIANHAO_TONG_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_SANLIANHAO_TONG_ID_INT:
			wanFa = "三不同号";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_ERBUTONGHAO_DAN_ID_INT:// 宁夏快3 二不同
		case LotteryIDUtils.NXK3_LOTTERY_ERBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_ERBUTONGHAO_DAN_ID_INT:// 安徽快3 二不同
		case LotteryIDUtils.ANHUIK3_LOTTERY_ERBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_ERBUTONGHAO_DAN_ID_INT:// 安徽快3 二不同
		case LotteryIDUtils.JLK3_LOTTERY_ERBUTONGHAO_DAN_ID_INT:// 安徽快3 二不同
		case LotteryIDUtils.GXK3_LOTTERY_ERBUTONGHAO_DAN_ID_INT:// 安徽快3 二不同
		case LotteryIDUtils.JSK3_LOTTERY_ERBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_ERBUTONGHAO_ZU_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_ERBUTONGHAO_ZU_ID_INT:
			wanFa = "二不同号";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_SANBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_SANBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_SANBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_SANBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_SANBUTONGHAO_TOWED_ID_INT:
			wanFa = "三不同胆拖";
			break;
		case LotteryIDUtils.NXK3_LOTTERY_ERBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.ANHUIK3_LOTTERY_ERBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.JSK3_LOTTERY_ERBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.JLK3_LOTTERY_ERBUTONGHAO_TOWED_ID_INT:
		case LotteryIDUtils.GXK3_LOTTERY_ERBUTONGHAO_TOWED_ID_INT:
			wanFa = "二不同胆拖";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENER_DAN_ID_INT:
		case LotteryIDUtils.KLSF_LOTTERY_RENER_FU_ID_INT:
			wanFa = "任选二";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENSAN_DAN_ID_INT:
		case LotteryIDUtils.KLSF_LOTTERY_RENSAN_FU_ID_INT:
			wanFa = "任选三";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENSI_DAN_ID_INT:
		case LotteryIDUtils.KLSF_LOTTERY_RENSI_FU_ID_INT:
			wanFa = "任选四";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENWU_DAN_ID_INT:
		case LotteryIDUtils.KLSF_LOTTERY_RENWU_FU_ID_INT:
			wanFa = "任选五";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_XUANER_LIANZHI_DAN_ID_INT:
		case LotteryIDUtils.KLSF_LOTTERY_XUANER_LIANZHI_FU_ID_INT:
			wanFa = "选二连直";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_XUANER_LIANZU_DAN_ID_INT:
		case LotteryIDUtils.KLSF_LOTTERY_XUANER_LIANZU_FU_ID_INT:
			wanFa = "选二连组";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_XUANYI_HONG_DAN_ID_INT:
			wanFa = "选一红投";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_XUANYI_SHU_DAN_ID_INT:
		case LotteryIDUtils.KLSF_LOTTERY_XUANYI_SHU_FU_ID_INT:
			wanFa = "选一数投";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENER_TOWED_ID_INT:
			wanFa = "任二胆拖";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENSAN_TOWED_ID_INT:
			wanFa = "任三胆拖";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENSI_TOWED_ID_INT:
			wanFa = "任四胆拖";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_RENWU_TOWED_ID_INT:
			wanFa = "任五胆拖";
			break;
		case LotteryIDUtils.KLSF_LOTTERY_XUANER_LIANZU_TOWED_ID_INT:
			wanFa = "二连组胆拖";
			break;
		// 广东快乐十分
			case LotteryIDUtils.GDKLSF_LOTTERY_RENER_DAN_ID_INT:
			case LotteryIDUtils.GDKLSF_LOTTERY_RENER_FU_ID_INT:
				wanFa = "任选二";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_RENSAN_DAN_ID_INT:
			case LotteryIDUtils.GDKLSF_LOTTERY_RENSAN_FU_ID_INT:
				wanFa = "任选三";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_RENSI_DAN_ID_INT:
			case LotteryIDUtils.GDKLSF_LOTTERY_RENSI_FU_ID_INT:
				wanFa = "任选四";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_RENWU_DAN_ID_INT:
			case LotteryIDUtils.GDKLSF_LOTTERY_RENWU_FU_ID_INT:
				wanFa = "任选五";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANER_LIANZHI_DAN_ID_INT:
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANER_LIANZHI_FU_ID_INT:
				wanFa = "选二连直";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANER_LIANZU_DAN_ID_INT:
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANER_LIANZU_FU_ID_INT:
				wanFa = "选二连组";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANYI_HONG_DAN_ID_INT:
				wanFa = "选一红投";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANYI_SHU_DAN_ID_INT:
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANYI_SHU_FU_ID_INT:
				wanFa = "选一数投";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_RENER_TOWED_ID_INT:
				wanFa = "任二胆拖";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_RENSAN_TOWED_ID_INT:
				wanFa = "任三胆拖";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_RENSI_TOWED_ID_INT:
				wanFa = "任四胆拖";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_RENWU_TOWED_ID_INT:
				wanFa = "任五胆拖";
				break;
			case LotteryIDUtils.GDKLSF_LOTTERY_XUANER_LIANZU_TOWED_ID_INT:
				wanFa = "二连组胆拖";
				break;
			// 快乐扑克
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENYI:
				wanFa = "任选一单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENYI_FU:
				wanFa = "任选一复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENER:
				wanFa = "任选二单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENER_FU:
				wanFa = "任选二复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENSAN:
				wanFa = "任选三单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENSAN_FU:
				wanFa = "任选三复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENSI:
				wanFa = "任选四单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENSI_FU:
				wanFa = "任选四复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENWU:
				wanFa = "任选五单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENWU_FU:
				wanFa = "任选五复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENLIU:
				wanFa = "任选六单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENLIU_FU:
				wanFa = "任选六复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_DUIZI:
				wanFa = "对子单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_DIUZI_FU:
				wanFa = "对子复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_BAOZI:
				wanFa = "豹子单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_BAOZI_FU:
				wanFa = "豹子复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_SHUNZI:
				wanFa = "顺子单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_SHUNZI_FU:
				wanFa = "顺子复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_TONGHUA:
				wanFa = "同花单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_TONGHUA_FU:
				wanFa = "同花复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_TONGHUASHUN:
				wanFa = "同花顺单式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_TONGHUASHUN_FU:
				wanFa = "同花顺复式";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENER_DANTUO:
				wanFa = "任二胆拖";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENSAN_DANTUO:
				wanFa = "任三胆拖";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENSI_DANTUO:
				wanFa = "任四胆拖";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENWU_DANTUO:
				wanFa = "任五胆拖";
				break;
			case LotteryIDUtils.KLPK_LOTTERY_ID_RENLIU_DANTUO:
				wanFa = "任六胆拖";
				break;
		}
		return wanFa;
	}
	/**
	 * 玩法转换
	 * @param lotteryType
	 * @return
	 */
	public static String wcode(String lotteryType){
		int lotteryId = 0;
		try {
			lotteryId = Integer.parseInt(lotteryType);
		} catch (Exception e) {
			// TODO: handle exception
		}
		return wcode(lotteryId);
	}
	
	/**
	 * 投注状态转换
	 * @param state
	 * @return
	 */
	public static String bet_state(int state){
		String stateString = "";
		switch (state) {
		case -2:
			stateString = "出票中";// 未到出票期
			break;
		case -1:
			stateString = "出票中";// 待拆票
			break;
		case 0:
			stateString = "出票中";// 待出票
			break;
		case 1:
			stateString = "出票中";
			break;
		case 2:
			stateString = "出票成功";
			break;
		case 3:
			stateString = "出票失败";
			break;
		case 4:
			stateString = "部分出票";
			break;
		case 5:
			stateString = "出票失败";// 中奖截止撤单
			break;
		case 6:
			stateString = "出票失败";// 追号异常撤单
			break;
		case 7:
			stateString = "未满员撤单";
			break;
		case 8:
			stateString = "出票失败";// 出票失败撤单
			break;
		case 9:
			stateString = "发起人撤单";
			break;
		case 10:
			stateString = "系统撤单";
			break;
		case 201:
			stateString = "保底剩余返款";
			break;
		case 202:
			stateString = "兑奖剩余彩金";
			break;
		case 203:
			stateString = "部分出票返款剩余彩金";
			break;
		case 49:
			stateString = "方案未满员";
			break;
		case 50:
			stateString = "待派奖";
			break;
		case 51:
			stateString = "已派奖";
			break;
		case 52:
			stateString = "未中奖";
			break;
		default:
			stateString = "待出票";
			break;

		}
		
		return stateString;
	}
	/**
	 * 投注状态转换
	 * @param state
	 * @return
	 */
	public static String bet_state(String state){
		int stateId = 0;
		try {
			stateId = Integer.parseInt(state);
		} catch (Exception e) {
			// TODO: handle exception
		}
		return bet_state(stateId);
	}
	
	/**
	 * 充值记录状态转换
	 * @param state
	 * @return
	 */
	public static String state_cz(int state){
		String stateString = "";
		switch (state) {
		case 0:
			stateString = "未支付";
			break;
		case 1:
			stateString = "充值成功";
			break;
		case 2:
			stateString = "充值失败";
			break;
		default:
			stateString = "交易失败";
			break;
		}
		return stateString;
	}
	
	/**
	 * 提现记录状态转换
	 * @param state
	 * @return
	 */
	public static String state_tx(int state){
		String stateString = "";
		switch (state) {
		case 0:
			stateString = "已提交";
			break;
		case 1:
			stateString = "提款成功";
			break;
		case 2:
			stateString = "审核通过";
			break;
		case 3:
			stateString = "审核失败";
			break;
		case 4:
			stateString = "转款失败";
			break;
		case 5:
			stateString = "转款中";
			break;
		default:
			stateString = "交易失败";
			break;
		}
		return stateString;
	}
	
	/**
	 * 过关方式转换
	 * @param guoGuanId	如：3001
	 * @return	3串1
	 */
	public static String guoGuan(String guoGuanId){
		String n = guoGuanId.substring(0, 1);
		String m = Integer.parseInt(guoGuanId.substring(1, guoGuanId.length()).toString()) + "";
		 
		if (n.equals("1") && m.equals("1")) {
			return "单关";
		}
		return n + "串" + m;
	}
	
	/**
	 * 彩种图标
	 * @param lotteryId
	 * @return
	 */
	public static int lotteryImg(String lotteryId){
		int lotteryID = 0;
		try {
			lotteryID = Integer.parseInt(lotteryId);
		} catch (Exception e) {
			// TODO: handle exception
		}
		return lotteryImg(lotteryID);
	}
	/**
	 * 彩种图标
	 * @param lotteryId
	 * @return
	 */
	public static int lotteryImg(int lotteryId){
		int resId = R.drawable.main_bd;
		switch (lotteryId) {
		case LotteryIDUtils.JLSF_LOTTERY_ID_INT://竞彩篮球
		case LotteryIDUtils.JLRSF_LOTTERY_ID_INT:
		case LotteryIDUtils.JLSFC_LOTTERY_ID_INT:
		case LotteryIDUtils.JLDXF_LOTTERY_ID_INT:
		case LotteryIDUtils.JLHH_LOTTERY_ID_INT:
			resId = R.drawable.main_jclq;
			break;
		case LotteryIDUtils.JZHH_LOTTERY_ID_INT:
		case LotteryIDUtils.JZRFSPF_LOTTERY_ID_INT://竞彩足球
		case LotteryIDUtils.JZBF_LOTTERY_ID_INT:
		case LotteryIDUtils.JZZJQ_LOTTERY_ID_INT:
		case LotteryIDUtils.JZBQC_LOTTERY_ID_INT:
		case LotteryIDUtils.JZSPF_LOTTERY_ID_INT:
			resId = R.drawable.main_jczq;
			break;
		case LotteryIDUtils.SSQ_LOTTERY_ID_INT://双色球
			resId = R.drawable.main_ssq;
			break;
		case LotteryIDUtils.DLT_LOTTERY_ID_INT://大乐透
			resId = R.drawable.main_daletou;
			break;
		case LotteryIDUtils.PL3_LOTTERY_ID_INT://排列3
			resId = R.drawable.main_pai3;
			break;
		case LotteryIDUtils.PL5_LOTTERY_ID_INT://排列5
			resId = R.drawable.main_pai5;
			break;
		case LotteryIDUtils.QXC_LOTTERY_ID_INT://七星彩
			resId = R.drawable.main_qixingcai;
			break;
		case LotteryIDUtils.FC3D_LOTTERY_ID_INT://3D
			resId = R.drawable.main_3d;
			break;
		case LotteryIDUtils.SD11XUAN5_LOTTERY_ID_INT://山东11选5
			resId = R.drawable.main_11x5;
			break;
		case LotteryIDUtils.GD11XUAN5_LOTTERY_ID_INT://广东11选5
			resId = R.drawable.main_gd11x5;
			break;
			case LotteryIDUtils.XJ11XUAN5_LOTTERY_ID_INT://新疆11选5
				resId = R.drawable.main_xj11x5;
				break;
		case LotteryIDUtils.CQSSC_LOTTERY_ID_INT://重庆时时彩
			resId = R.drawable.main_ssc;
			break;
		case LotteryIDUtils.ANHUIK3_LOTTERY_ID_INT://安徽快三
			resId = R.drawable.main_ahk3;
			break;
		case LotteryIDUtils.ZCSFC_LOTTERY_ID_INT://足彩
			resId = R.drawable.main_sfc;
			break;
		case LotteryIDUtils.ZCRXJ_LOTTERY_ID_INT:
			resId = R.drawable.main_ren9;
			break;
		case LotteryIDUtils.ZCBQC_LOTTERY_ID_INT:
			resId = R.drawable.main_zc_bqc;
			break;
		case LotteryIDUtils.ZCJQC_LOTTERY_ID_INT:
			resId = R.drawable.main_zc_jqc;
			break;
		case LotteryIDUtils.DCBF_LOTTERY_ID_INT://北单
		case LotteryIDUtils.DCBQC_LOTTERY_ID_INT:
		case LotteryIDUtils.DCSPF_LOTTERY_ID_INT:
		case LotteryIDUtils.DCSXDS_LOTTERY_ID_INT:
		case LotteryIDUtils.DCZJQ_LOTTERY_ID_INT:
			resId = R.drawable.main_bd;
			break;
		}
		
		return resId;
	}
	
	/**
	 * 彩种名称
	 * @param lotteryId
	 * @return
	 */
	public static String hM_lotteryName(String lotteryId){
		String resId;
		if (lotteryId.equals("-1")) {
			resId = "全部";
		}else if (lotteryId.equals(""+LotteryIDUtils.SSQ_LOTTERY_ID_INT)) {
			resId = "双色球";
		}else if (lotteryId.equals(""+LotteryIDUtils.PL3_LOTTERY_ID_INT)) {
			resId = "排列3";
		}else if (lotteryId.equals(""+LotteryIDUtils.PL5_LOTTERY_ID_INT)) {
			resId = "排列5";
		}else if (lotteryId.equals(""+LotteryIDUtils.DLT_LOTTERY_ID_INT)) {
			resId = "大乐透";
		}else if (lotteryId.equals(""+LotteryIDUtils.FC3D_LOTTERY_ID_INT)) {
			resId = "福彩3D";
		}else if (lotteryId.equals(""+LotteryIDUtils.QXC_LOTTERY_ID_INT)) {
			resId = "七星彩";
		}else if(lotteryId.equals(""+LotteryIDUtils.QLC_LOTTERY_ID_INT)){
			resId = "七乐彩";
		}else if(lotteryId.equals(""+LotteryIDUtils.ZCSFC_LOTTERY_ID_INT)){
			resId = "足彩胜负彩";
		}else if(lotteryId.equals(""+LotteryIDUtils.ZCRXJ_LOTTERY_ID_INT)){
			resId = "足彩任选九";
		}else if(lotteryId.equals(""+LotteryIDUtils.ZCJQC_LOTTERY_ID_INT)){
			resId = "足彩进球彩";
		}else if(lotteryId.equals(""+LotteryIDUtils.ZCBQC_LOTTERY_ID_INT)){
			resId = "足彩半全场";
		}else if(lotteryId.equals(""+LotteryIDUtils.JLSF_LOTTERY_ID_INT)){
			resId = "竞蓝胜负";
		}else if(lotteryId.equals(""+LotteryIDUtils.JLRSF_LOTTERY_ID_INT)){
			resId = "竞蓝让球胜负";
		}else if(lotteryId.equals(""+LotteryIDUtils.JLSFC_LOTTERY_ID_INT)){
			resId = "竞蓝胜分差";
		}else if(lotteryId.equals(""+LotteryIDUtils.JLDXF_LOTTERY_ID_INT)){
			resId = "竞蓝大小分";
		}else if(lotteryId.equals(""+LotteryIDUtils.JLHH_LOTTERY_ID_INT)){
			resId = "竞蓝混合过关";
		}else if(lotteryId.equals(""+LotteryIDUtils.JZBF_LOTTERY_ID_INT)){
			resId = "竞足比分";
		}else if(lotteryId.equals(""+LotteryIDUtils.JZBF_LOTTERY_ID_INT)){
			resId = "竞足比分";
		}else if(lotteryId.equals(""+LotteryIDUtils.JZSPF_LOTTERY_ID_INT)){
			resId = "竞足胜平负";
		}else if(lotteryId.equals(""+LotteryIDUtils.JZRFSPF_LOTTERY_ID_INT)){
			resId = "竞足让胜平负";
		}else if(lotteryId.equals(""+LotteryIDUtils.JZBQC_LOTTERY_ID_INT)){
			resId = "竞足半全场";
		}else if(lotteryId.equals(""+LotteryIDUtils.JZZJQ_LOTTERY_ID_INT)){
			resId = "竞足总进球";
		}else if(lotteryId.equals(""+LotteryIDUtils.JZHH_LOTTERY_ID_INT)){
			resId = "竞足混合过关";
		}else if(lotteryId.contains("3001")){
			resId = "竞彩篮球";
		}else if(lotteryId.contains("3006")){
			resId = "竞彩足球";
		}else if(lotteryId.contains("40")){
			resId = "足彩";
		}else if(lotteryId.contains("50")){
			resId = "北单";
		}else {
			resId = "其它";//待修改。。。
		}
		
		return resId;
	}
	
	
	/**
	 * 合买状态转换
	 * @param state
	 * @return
	 */
	public static String heMai_state(int state){
		String stateString = "";
		switch (state) {
		case 1:
			stateString = "认购中";
			break;
		case 2:
			stateString = "满员";//满员即待开奖
			break;
		case 3:
			stateString = "未中奖";
			break;
		case 4:
			stateString = "撤单";
			break;
		case 5:
			stateString = "流单";
			break;
		case 6:
			stateString = "已中奖";
			break;
		case 7:
			stateString = "出票失败";
			break;
		default:
			stateString = "其它"+state;
			break;
		}
		return stateString;
	}
	/**
	 * 合买状态转换
	 * @param state
	 * @return
	 */
	public static String heMai_state(String state){
		int stateId = 0;
		try {
			stateId = Integer.parseInt(state);
			return heMai_state(stateId);
		} catch (Exception e) {
			// TODO: handle exception
			return state;
		}
	}
	
	
	
	/**
	 * 合买保密状态转换
	 * @param state
	 * @return
	 */
	public static String hm_baoMi_state(int state){
		String baoMiState = "";
		switch (state) {
		case 0:
			baoMiState = "完全公开";
			break;
		case 1:
			baoMiState = "保密";
			break;
		case 2:
			baoMiState = "截止后公开";
			break;
		case 3:
			baoMiState = "跟单可见";
			break;
		case 4:
			baoMiState = "跟单截止可见";
			break;
		default:
			baoMiState = "其它"+state;
			break;
		}
		return baoMiState;
	}
	/**
	 * 合买保密状态转换
	 * @param state
	 * @return
	 */
	public static String hm_baoMi_state(String state){
		int stateId = 0;
		try {
			stateId = Integer.parseInt(state);
		} catch (Exception e) {
			stateId = -1;
		}
		return hm_baoMi_state(stateId);
	}
	
	
	/**
	 * 追号状态转换
	 * @param state
	 * @return
	 */
	public static String zhuiHao_state(int state){
		String baoMiState = "";
		switch (state) {
		case 0:
			baoMiState = "未完结";
			break;
		case 1:
			baoMiState = "进行中";
			break;
		case 2:
			baoMiState = "已取消";
			break;
		case 3:
			baoMiState = "已追完";
			break;
		default:
			baoMiState = "其它"+state;
			break;
		}
		return baoMiState;
	}
	/**
	 * 追号状态转换
	 * @param state
	 * @return
	 */
	public static String zhuiHao_state(String state){
		int stateId = 0;
		try {
			stateId = Integer.parseInt(state);
		} catch (Exception e) {
			stateId = -1;
		}
		return zhuiHao_state(stateId);
	}
	
	/**
	 * 追号Item状态转换
	 * @param state
	 * @return
	 */
	public static String zhuiHaoItem_state(int state, String prizeNum, boolean isPrize){
		String baoMiState = "";
		switch (state) {
		case 0:
			baoMiState = "默认";
			break;
		case 1:
			baoMiState = "待追号";
			break;
		case 2:
			if (prizeNum.equals("")) {
				baoMiState = "待开奖";
			}else {
				if (isPrize) {
					baoMiState = "已派奖";
				}else{
					baoMiState = "未中奖";
				}
			}
//			baoMiState = "已追号";
			break;
		case 3:
			baoMiState = "已取消";
			break;
		default:
			baoMiState = "其它"+state;
			break;
		}
		return baoMiState;
	}
	/**
	 * 追号Item状态转换
	 * @param state
	 * @return
	 */
	public static String zhuiHaoItem_state(String state, String prizeNum, boolean isPrize){
		int stateId = 0;
		try {
			stateId = Integer.parseInt(state);
		} catch (Exception e) {
			stateId = -1;
		}
		return zhuiHaoItem_state(stateId, prizeNum, isPrize);
	}
	
	
	
	
	
	
	
	
	
}
